#ifndef QLIB_LIBRARYDIALOG_H
#define QLIB_LIBRARYDIALOG_H

#include <QDialog>

QT_FORWARD_DECLARE_CLASS(QDialogButtonBox)
QT_FORWARD_DECLARE_CLASS(QLineEdit)

class LibraryDialog : public QDialog
{
    Q_OBJECT
public:
    explicit LibraryDialog(QWidget *parent = 0);

    QString directory();
    QString fullPath();
    QString name();

signals:
    
public slots:

private slots:
    void fileDirBrowse();
    void fileNameUpdate(const QString &libName);
    void validate();

private:
    QLineEdit           *m_libName;
    QLineEdit           *m_fileName;
    QLineEdit           *m_fileDir;
    QDialogButtonBox    *m_buttonBox;
};

#endif // QLIB_LIBRARYDIALOG_H
